package com.guo.hui.service.impl;

import org.springframework.stereotype.Component;

import com.guo.hui.mobile.MobileCodeWSSoap;
import com.guo.hui.service.ProxyFactory;

@Component
public class MobileReceiver {

	public String receiver(String tel, String userId) {
		MobileCodeWSSoap mobilequery = ProxyFactory.getMobile(MobileCodeWSSoap.class);
		String msg = mobilequery.getMobileCodeInfo(tel, userId);
		System.out.println(msg);
		return msg;

	}

}
